package br.usp.pcs.basys2.event;

import java.util.Calendar;

import br.usp.pcs.basys2.engine.Engine;
import br.usp.pcs.basys2.info.JobInfo;

public class StartJobEvent extends Event {

	public StartJobEvent(JobInfo job, Calendar arrivalDate) {
		super(job,arrivalDate);
	}

	@Override
	public void execute() {
		Engine.getInstance().getSystem().getJobManager().manage(this.getJob());
	}

}
